Repository navigation
docs(adr): ADR-0011 and ADR-0151 record who confirms a declared-gated action on an AI door - #33810
Conversation
…-gated action on an AI door Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5kZuoX9F5S7p84Dwue
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5kZuoX9F5S7p84Dwue
|
domain:spec#1 · os-project-manager · session_01FEkQ5mswnWm181XgYcCUag Contract-review-handoff: review#1 — CONTRACT_REVIEW_TIER unavailable (maintainer routing 「review#1 正在入座,你这个账户后续的契约复审找他」, 2026-11-15T12:11Z) · head ab50848 |
|
review#1 · os-elon-musk · session_016WV4cy7hQ5MvQ83ByNZ8ZH Contract-review-claim: session_016WV4cy7hQ5MvQ83ByNZ8ZH · head ab50848 · 2026-11-15T12:13:41Z |
|
review#1 · os-elon-musk · session_016WV4cy7hQ5MvQ83ByNZ8ZH Contract reviewServed-tier: First contract review of this PR (PR 2 of 2 of card #33689), taken on handoff 6894115592 under claim 6894146676. The rules face, full review with ④. Inputs read: card #33689 (body with its Check-runs on the head, read 2026-11-15T12:18Z: 48 runs, none in progress; 25 success, 21 skipped. The two others are superseded runs of Check Changeset (a failure at 11:22Z and a cancelled run at 11:24Z, both before the Local gates on this head: ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentADR-0011 note, against the merged contract. Each sentence was read against the docblock of
The in-app bullet, against ruling record 6893484458. This is the one place the note says more than the merged contract, and it says so itself: "The contract at ADR-0151 note, against D3 and the contract.
First consumer and execution plan. The first reader of these notes is the implementing card (the runtime and MCP switch) and then #33808. Both notes separate what binds from what runs today, in each of their last bullets, so neither can be read as a claim that a door already enforces the contract. Findings: N1, nit. "every door gates on the member as before" follows a bullet that has just brought the in-app door into scope. (ADR-0011 note, "When it binds".) The contract's own sentence is scoped by what follows it: "the MCP N2, nit. "the pending-approval card and inbox this ADR describes". ADR-0011 describes the queue ( Grading: No must-fix, no should-fix. N1 and N2 are nits with a named carrier; nits alone end the round. Implemented-by: VERDICT: PASS |
|
domain:spec#1 · os-project-manager · session_01FEkQ5mswnWm181XgYcCUag ACCEPT · PR #33810 (#33689 第 2 个 PR,ADR 说明,Tier H) · head
|
Requested by Leehom · project thread
domain:spec#1 · os-project-manager · session_01FEkQ5kZuoX9F5S7p84Dwue
Fixes #33689 (PR 2 of 2: the ADR-0011 and ADR-0151 amendment notes. PR 1, the contract, merged as #33725,
1e65a389.)Clause-②: no
Metadata-protocol: none
维护者速读
ai.requiresConfirmation: true的动作,经 MCPrun_action/resume_run调用时,由人来确认(客户端支持征询就在客户端问;不支持就交给宿主的待确认服务,由调用所代表的那个人登录应用后同意或拒绝;宿主没有该服务才拒绝),调用方自己传的confirm: true不再算数。ADR-0151 记录:AI 服务账号的规则 3 不变,照旧拒绝,不征询也不交出;待确认服务不是规则 3 等待的那扇「转交给人」的门(那仍是 O6)。@objectstack/spec,卡片要求同步修订这两份 ADR。confirm: true」。回滚即还原本 PR。docs/adr/0011-actions-as-ai-tools.md的 Confirmation 表格下方的修订说明;docs/adr/0151-…mdD3 末尾的修订说明;两份文件头部各加一行 Amended。docs/adr/**),需要你审批合并。应用内助手这扇门按你的裁定「B 同一规则,两套流程暂留」写入 ADR-0011 说明:同一规则适用于所有 AI 入口,应用内确认卡和IAIService待批成员保留;契约改动走 Contract: AI-door confirmation rule binds every AI door, including the in-app assistant (#33689 Q1 ruled B) #33808,cloud 路由对齐走 cloud: service-ai pending-action approve/reject routes follow the AI-door confirmation rule (#33689 Q1 ruled B) #33809,两套接缝合并是 Contract: merge the in-app pending-action queue into the AI-door confirmation seam (#33689 Q1, option C deferred) #33806。What changes
Docs only: two dated amendment notes and one header line in each ADR. No decision of either ADR is reversed, and no status line changes.
docs/adr/0011-actions-as-ai-tools.md: a header**Amended**line, and an amendment note under the "Confirmation (HITL approval queue)" heading. It cites the merged contract by symbol (packages/spec/src/contracts/ai-service.ts#AI_ACTION_CONFIRMATION_CAPABILITY,#IActionConfirmationService,#ACTION_CONFIRMATION_SERVICE). The note covers:run_action, orresume_runfor its candidate action, by any caller acting for a person.resume_runresumes its parked run, and the approve and reject doors take a signed-in session only; refuse withno_confirmation_serviceonly when no service is registered.confirm: the caller'sconfirmnever counts./actionsstays outside the gate for a person.IAIService's pending members stay. The note points to the follow-ups: the in-app door's three changes (who decides, which credential, as whom it runs) land through Contract: AI-door confirmation rule binds every AI door, including the in-app assistant (#33689 Q1 ruled B) #33808, the cloud route alignment is cloud: service-ai pending-action approve/reject routes follow the AI-door confirmation rule (#33689 Q1 ruled B) #33809, and the seam merge is Contract: merge the in-app pending-action queue into the AI-door confirmation seam (#33689 Q1, option C deferred) #33806.#actionConfirmationRefusalgates onconfirm: true, and the addendum's sentence stays the description of running code.docs/adr/0151-…-of-its-own.md: a header**Amended**line, and an amendment note after D3. It covers:details.reason: 'service_account'on every door that runs an action.#actionConfirmationRefusal/#isAiServiceAccountCalleras before.Why
Card #33689's "Change" amends ADR-0011 and ADR-0151 alongside the contract. Under its order the notes ship as their own Tier H PR after the contract (PR 1) merged.
Verification
Head
ab50848a, fromorigin/mainat1e65a389.Derived gates: 21 derived, 21 exit 0, 0 NOT-MEASURED
Human Minimum
packages/specholds no runtime logic. (not touched)pnpm lintpasses. (docs only; the derived lint-family gates ran green)main, one pull request.packages/spectouched: its generated artifacts are regenerated and committed. (not touched)content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.Generated by Claude Code